// 人事管理
export default {
  path: '/hrmanage',
  name: 'hrmanage',
  icon: 'usergroup-add',
  authority: ['es:antd:personnel'],
  routes: [
    {
      path: '/hrmanage/searchrecord',
      name: 'searchrecord',
      authority: ['es:per:searchrecord'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/hrmanage/searchrecord',
          redirect: '/hrmanage/searchrecord/index',
        },
        {
          path: '/hrmanage/searchrecord/index',

          component: './SearchRecord/Index',
        },
        {
          path: '/hrmanage/searchrecord/detail',
          name: 'detail',
          component: './SearchRecord/Detail',
        },
        {
          path: '/hrmanage/searchrecord/add',
          name: 'add',
          component: './SearchRecord/Add',
        },
        {
          path: '/hrmanage/searchrecord/revise',
          name: 'revise',
          component: './SearchRecord/Add',
        },
      ],
    },
    {
      path: '/hrmanage/issueproof',
      name: 'issueproof',
      authority: ['es:per:prove'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/hrmanage/issueproof',
          redirect: '/hrmanage/issueproof/index',
        },
        {
          path: '/hrmanage/issueproof/index',
          component: './PersonnelManage/IssueProve/Index',
        },
        {
          path: '/hrmanage/issueproof/detail',
          name: 'detail',
          component: './PersonnelManage/IssueProve/Detail',
        },
        {
          path: '/hrmanage/issueproof/add',
          name: 'add',
          component: './PersonnelManage/IssueProve/Add',
        },
        {
          path: '/hrmanage/issueproof/update',
          name: 'update',
          component: './PersonnelManage/IssueProve/Add',
        },
      ],
    },
    {
      path: '/hrmanage/recordservice',
      name: 'recordservice',
      hideChildrenInMenu: true,
      authority: ['es:per:archives'],
      routes: [
        {
          path: '/hrmanage/recordservice',
          redirect: '/hrmanage/recordservice/index',
        },
        {
          path: '/hrmanage/recordservice/index',

          component: './ArchivesManage/ArchivesServiceHandle/Index',
        },
        {
          path: '/hrmanage/recordservice/add',
          name: 'add',
          component: './ArchivesManage/ArchivesServiceHandle/Add',
        },
        {
          path: '/hrmanage/recordservice/detail',
          name: 'detail',
          component: './ArchivesManage/ArchivesServiceHandle/Detail',
        },
        {
          path: '/hrmanage/recordservice/update',
          name: 'update',
          component: './ArchivesManage/ArchivesServiceHandle/Update',
        },
        {
          path: '/hrmanage/recordservice/contactHistory',
          name: 'contactHistory',
          component: './ArchivesManage/ArchivesServiceHandle/ContactHistory',
        },
        {
          path: '/hrmanage/recordservice/problem',
          name: 'problem',
          component: './ArchivesManage/ArchivesServiceHandle/Problem',
        },
        {
          path: '/hrmanage/recordservice/batchGrant',
          name: 'batchGrant',
          component: './ArchivesManage/ArchivesServiceHandle/BatchGrant',
        },
      ],
    },
  ],
};
